package main

import (
	"time"
)

type pushdata struct {
	Password  string
	Push_Data struct {
		CommitBefore string `json:"before"`
		CommitAfter  string `json:"after"`
		Ref          string
		UserId       int    `json:"user_id"`
		Username     string `json:"user_name"`
		Repository   struct {
			Name        string
			Url         string
			Description string
			Homepage    string
		}
		Commits []struct {
			Id        string
			Message   string
			Timestamp time.Time
			Url       string
			Author    struct {
				Name  string
				Email string
			}
		}
		TotalCommitsCount int `json:"total_commits_count"`
	}
}
